type genderType = "男" | "女";

type uType = {
  name: string;
  age: number;
  gender: genderType;
};

let u: uType;

function getUsers(g: genderType): uType[] {
  return [];
}

console.log(getUsers("女"));

export {};
